/*
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-01-29 12:45:29
 * @Description  : 题目收藏相关的一些类型
 */
import type { PageRes } from './commom'

export interface QuestionFavReq {
  page?: number
  pageSize?: number
  userId?:string
  paperId?:string
}

// QuestionFav返回实体
export interface QuestionFavRes {
  id: string
  userId:string
  questionId:string
  paperId:string
  User:any
  Paper:any
  Question:any
  createTime:string
}

// 分页QuestionFav返回实体
export type QuestionFavPageRes = PageRes<QuestionFavRes>

// 题目收藏添加请求实体类型
export interface QuestionFavCreateReq {
  questionId:string
  paperId:string
}

// 题目收藏修改请求实体
export interface QuestionFavUpdateReq {
  questionFavId?: string
}

export type QuestionFavRowData = QuestionFavRes
